const quizTypes = [
  {type: 'BASIC_QUIZ', text: '简单客观题'},
  {type: 'SURVEY_QUIZ', text: '调研题'},
  {type: 'HOMEWORK_QUIZ', text: '编程题'},
  {type: 'ONLINE_CODING_QUIZ', text: '在线编程题'},
  {type: 'ONLINE_LANGUAGE_QUIZ', text: '单语言在线编程题'},
  {type: 'SIMPLE_CODING_QUIZ', text: '简单编程题'},
  {type: 'SUBJECTIVE_QUIZ', text: '主观题'},
  {type: 'LOGIC_QUIZ', text: '逻辑题'}
]

const quizType = {
  简单客观题: 'BASIC_QUIZ',
  调研题: 'SURVEY_QUIZ',
  编程题: 'HOMEWORK_QUIZ',
  在线编程题: 'ONLINE_CODING_QUIZ',
  单语言在线编程题: 'ONLINE_LANGUAGE_QUIZ',
  主观题: 'SUBJECTIVE_QUIZ',
  逻辑题: 'LOGIC_QUIZ',
  简单编程题: 'SIMPLE_CODING_QUIZ'
}

const basicQuizTypes = [
  {type: '', text: '全部'},
  {type: 'SINGLE_CHOICE', text: '单选题'},
  {type: 'MULTIPLE_CHOICE', text: '多选题'},
  {type: 'BASIC_BLANK_QUIZ', text: '填空题'}
]

const MAP_CHECKOUT_COUNT = [0, 1, 2, 3]

export {
  quizTypes, MAP_CHECKOUT_COUNT, quizType, basicQuizTypes
}
